<!DOCTYPE composition PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<ui:composition xmlns="http://www.w3.org/1999/xhtml"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:cc="http://java.sun.com/jsf/composite/controls"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:p="http://primefaces.org/ui">
	<h:form>
	<div class="top-nav">
	<div class="bd">

	<div class="top-nav-items">
	<ul>
		<li><a href="index.jsf">大家小区</a></li>
		<li><a href="myarea.jsf?lid=1">我的小区</a></li>
		<li><a href="notes.jsf" title="My Notes">Note</a></li>
		<li><a href="#">我的资料</a></li>
		<li><a href="#">我的预定单</a></li>
	</ul>
	</div>
	<div class="top-nav-info">
	欢迎：#{identity.username}
	<a href="#">信息<em>(2)</em></a> 
		<p:commandLink value="退出" action="#{authenticationCtrl.logout}" rendered="#{identity.loggedIn}"/>
		</div>
	</div>
	</div>
	<!--div id="header">
	<div class="site-nav" id="db-nav-book">
    <div class="site-nav-logo">
      <a href="#">
          <img id="logo" src="resources/images/logo2.png" alt="大家小区"/>
      </a>
    </div>
    <div class="bd">
    <div class="site-nav-items nav-logged-in">
        <ul>
             
                     <li><a href="#">小区动态</a><img src="http://img3.douban.com/pics/new_menu.gif" style="top: 4px; position: absolute;"/></li>
             
                    <li><a href="#">公共信息</a></li>
             
                     <li><a href="#">小区购物</a></li>

        </ul>
    </div>
    </div>
    </div>
</div-->
	</h:form>
</ui:composition>
